package com.test.pojo;

public class Food {
    private Integer foodId;

    private String foodName;

    private Integer foodTypeId;

    private Double foodPrice;

    private Double foodMemberPrice;

    private String foodRemark;

    private String foodImg;

    // 查找菜系名称
    private FoodType foodType;

    public FoodType getFoodType() {
        return foodType;
    }

    public void setFoodType(FoodType foodType) {
        this.foodType = foodType;
    }

    public Integer getFoodId() {
        return foodId;
    }

    public void setFoodId(Integer foodId) {
        this.foodId = foodId;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName == null ? null : foodName.trim();
    }

    public Integer getFoodTypeId() {
        return foodTypeId;
    }

    public void setFoodTypeId(Integer foodTypeId) {
        this.foodTypeId = foodTypeId;
    }

    public Double getFoodPrice() {
        return foodPrice;
    }

    public void setFoodPrice(Double foodPrice) {
        this.foodPrice = foodPrice;
    }

    public Double getFoodMemberPrice() {
        return foodMemberPrice;
    }

    public void setFoodMemberPrice(Double foodMemberPrice) {
        this.foodMemberPrice = foodMemberPrice;
    }

    public String getFoodRemark() {
        return foodRemark;
    }

    public void setFoodRemark(String foodRemark) {
        this.foodRemark = foodRemark == null ? null : foodRemark.trim();
    }

    public String getFoodImg() {
        return foodImg;
    }

    public void setFoodImg(String foodImg) {
        this.foodImg = foodImg == null ? null : foodImg.trim();
    }

    @Override
    public String toString() {
        return "Food{" +
                "foodId=" + foodId +
                ", foodName='" + foodName + '\'' +
                ", foodTypeId=" + foodTypeId +
                ", foodPrice=" + foodPrice +
                ", foodMemberPrice=" + foodMemberPrice +
                ", foodRemark='" + foodRemark + '\'' +
                ", foodImg='" + foodImg + '\'' +
                ", foodType=" + foodType.getTypeName() +
                '}';
    }
}